package com.binlan.testspringboot.service;

import com.alibaba.fastjson.JSONObject;
import com.binlan.testspringboot.dao.mapper.SysUserMapper;
import com.binlan.testspringboot.dao.po.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestService {

//    @Autowired
//    private SysUserMapper sysUserMapper;

    public String getTestInfo(String userName) {
        SysUser sysUser = new SysUser();
        sysUser.setUsername(userName);
        return JSONObject.toJSONString(sysUser);
    }

}
